<div class="member_profile">
  <%= avatar_for(profile) %>

  <div class="content">
    <h4><%= link_to profile.name, profile_url(profile.login) %></h4>
    <% unless profile.city.blank? and profile.state.blank? %><%=h profile.city %> / <%=h profile.state %><br/><% end %>

    <%= render :partial => '/profiles/user_current_job', :locals => { :current_job => profile.current_job } %>
  </div>

  <% can_display_friend_request_for(profile) do %>
    <ul class="actions">
      <li><%= link_to '&#187; Send colleague request', send_request_profile_friendship_url(profile.login), :confirm => "Are you sure you want to send a colleague request to #{profile.name}" %></li>
    </ul>
  <% end %>

</div>
